package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class F_EstdPAS_DTDDP extends org.apache.struts.action.ActionForm {
    
    
    public F_EstdPAS_DTDDP() {
        super();
        ci = 0;
        trimestre = "";
        semestre = "";
        anual = 0;

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        ci = 0;
        trimestre = "";
        semestre = "";
        anual = 0;

    }

    public static F_EstdPAS_DTDDP clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        F_EstdPAS_DTDDP fF_EstdPAS_DTDDP = (F_EstdPAS_DTDDP) sess.getAttribute("F_EstdPAS_DTDDP");
        if (fF_EstdPAS_DTDDP == null) {
            fF_EstdPAS_DTDDP = new F_EstdPAS_DTDDP();
            sess.setAttribute("F_EstdPAS_DTDDP", fF_EstdPAS_DTDDP);
        } else {
            fF_EstdPAS_DTDDP.reset(mapping, request);
        }
        return fF_EstdPAS_DTDDP;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

    /**
     * Holds value of property ci.
     */
    private int ci;

    /**
     * Getter for property ci.
     * @return Value of property ci.
     */
    public int getCi() {
        return this.ci;
    }

    /**
     * Setter for property ci.
     * @param ci New value of property ci.
     */
    public void setCi(int ci) {
        this.ci = ci;
    }

    /**
     * Holds value of property trimestre.
     */
    private String trimestre;

    /**
     * Getter for property trimestre.
     * @return Value of property trimestre.
     */
    public String getTrimestre() {
        return this.trimestre;
    }

    /**
     * Setter for property trimestre.
     * @param trimestre New value of property trimestre.
     */
    public void setTrimestre(String trimestre) {
        this.trimestre = trimestre;
    }

    /**
     * Holds value of property semestre.
     */
    private String semestre;

    /**
     * Getter for property semestre.
     * @return Value of property semestre.
     */
    public String getSemestre() {
        return this.semestre;
    }

    /**
     * Setter for property semestre.
     * @param semestre New value of property semestre.
     */
    public void setSemestre(String semestre) {
        this.semestre = semestre;
    }

    /**
     * Holds value of property anual.
     */
    private int anual;

    /**
     * Getter for property anual.
     * @return Value of property anual.
     */
    public int getAnual() {
        return this.anual;
    }

    /**
     * Setter for property anual.
     * @param anual New value of property anual.
     */
    public void setAnual(int anual) {
        this.anual = anual;
    }




}